package com.sdp.wx.db.wx_repair_vehicle_old_wz.service.impl;

import com.sdp.wx.db.wx_repair_vehicle_old_wz.entity.WxRepairVehicleOldWz;
import com.sdp.wx.db.wx_repair_vehicle_old_wz.mapper.WxRepairVehicleOldWzMapper;
import com.sdp.wx.db.wx_repair_vehicle_old_wz.service.IWxRepairVehicleOldWzService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zsp
 * @since 2024-03-13
 */
@Service
public class WxRepairVehicleOldWzServiceImpl extends ServiceImpl<WxRepairVehicleOldWzMapper, WxRepairVehicleOldWz> implements IWxRepairVehicleOldWzService {

	@Override
	public List<WxRepairVehicleOldWz> queryWxRepairVehicleOldWzByRepairCode(String repairCode) {
		LambdaQueryWrapper<WxRepairVehicleOldWz> queryWrapper = new LambdaQueryWrapper<>();
		queryWrapper.eq(WxRepairVehicleOldWz::getRepairCode, repairCode);
		return list(queryWrapper);
	}

}
